package com.example.demo2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

@Data
@TableName("sys_validation")
public class Validation {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String email;
    private String code;
    private Integer type;
    private Date time;
}
